package leetcode.code0810;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution810 implements IDebug {

	public abstract boolean xorGame(int[] nums);



	@Override
	public void debug1() {
		String str = "[1,1,2]";
		boolean e = false;
		boolean r = this.xorGame(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str = "[1,1,2,4,5,6,7,2,3,4]";
		boolean e = true;
		boolean r = this.xorGame(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
//		String str = "[13,11,15,32,10,27,17,6,15,31,8,15,27,19,23,14,1,12,2,8]";
		String str = "[12,13,14,15]";
		boolean e = true;
		boolean r = this.xorGame(HelpDebug.str2array3(str));
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}



}
